package com.yonyou.gmmc.service.roadSOS.dao;

import java.util.List;

import com.yonyou.gmmc.common.annotation.OracleDb;
import com.yonyou.gmmc.service.roadSOS.model.TmDealer;
import com.yonyou.gmmc.service.roadSOS.model.TtSoshelp;

import feign.Param;
import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TmDealerMapper extends Mapper<TmDealer> {
    
    /**
    * 获取最近销售店&&本市销售店
    * @author Administrator
    * TODO description
    * @date 2017年5月12日
    * @param ttSoshelp
    * @return
    */
    public List<TmDealer> selectNearDealer(TtSoshelp ttSoshelp);
    
    public List<TmDealer> selectFirstDealer(TtSoshelp ttSoshelp);
 
    public String selectDealer(@Param("userId") String userId);
}